home *** CD-ROM | disk | FTP | other *** search
- Subject: Digested
- Date: Tue, 07 Jun 1994 13:24:24 +1000
- From: Warwick Allison <warwick@cs.uq.oz.au>
- Precedence: bulk
-
-
-
- There appears to be a growing agreement that KEYBOARD.SYS become ????.SYS,
- an application defaults file. I agree. I suggest we simply use something
- like the Xdefaults file format. That is, basically a file of:
-
- ATTRIBUTE_PATTERN: VALUE
-
- lines. ATTRIBUTE_PATTERN is a wildcard match of attributes, such as:
-
- *SaveAs*
-
- VALUE is an ASCII string. It is converted to whatever internal value is
- required by std routines (eg. std way to convert ASCII to an integer,
- std way to convert ASCII to a keycode, etc.)
-
- Example conversions:
-
- integers:
- 103854 // decimal
- 01774 // octal
- 0x774 // hex
- five // :)
-
- keys:
- 0x8831 // scancode
- Ctrl-C // human
-
-
- Re CODES
-
- Is this for humans or machines? You don't have a hope in hell of making
- codes unique in a key bindings file! Parsing strings is no more difficult
- than parsing numbers! This talk of `put such-and-such in the 1000+ range'
- scares the euphemisms out of me.
-
- Co-ordinating the distribution of numbers to application-operations
- would be impossible. How do we make sure every `Save' is #1754? Every
- `Resize' is #765? Every `Insert Date' is #288?
-
- The mistake has been made once for ASSIGN.SYS (no-one knows how to use it).
- Don't repeat that mistake.
-
-
-
-
- Annius:
- > In a very simple formalism. I'm convinced that we need to separate
- > codes into default sections, class dedicated sections and
- > application-specific codes.
-
- Dedicated sections can be achieved by following the
- Xdefaults method, where `sections' are just prefixes to the attribute,
- ie.
-
- *Edith.*SaveAs: Ctrl-A
-
- Which matches:
- Editor.Edith.SaveAs
- Editor.Edith.Binary.SaveAs
-
- but not:
- Editor.Everest.SaveAs
-
- Whereas:
- Editor.*SaveAs: Ctrl-A
-
- matches:
- Editor.Everest.SaveAs
- Editor.Edith.SaveAs
- Editor.Edith.Binary.SaveAs
-
- but not:
- Painter.TruePaint.SaveAs
-
-
- Annius:
- > I think all applications should protect
- > their resources by including them into the binary.
-
- That depends. Freeware should certainly never be done this way. Separate
- files allows native-language-speakers to create local versions. Shareware
- too. Commercial products... well, they should work in all languages the
- product is sold to, so editing should not be needed.
-
- Then again... I wish I could 3D-ize all my applications by modifying their
- RSC files.
-
- A scummy hacker will have a program to change `Annius Groenink' into
- `CRACKING ROOLZZ' whether in RSC file or binary.
-
-
- Timothy Miller:
- > If the shortcuts are configurable, then there's no point in having a
- > standard because people can set it to however they want.
-
- Unfortunately, not all humans are clones of me, so they all have
- different preferences. Also, they unfortunately don't all speak the
- same language as me. The fools even insist on having different keyboards
- which make certain keys (eg. [ and ]) less accessible than they are on
- my keyboard. Or the non-clones buy non-atari keyboards.
-
- All this Free Choice really gets on my nerves (why can't we all be like me?),
- but it is unfortunately the case, to configurability is necessary.
-
- [now... back to Normandy]
-
-
- Timothy Miller:
- > I DON'T WANT TO HAVE TO WASTE MY TIME PROGRAMMING IT.
-
- Hey, by making it a std, std functions can be provided for implementing it,
- and you'll have the code already available. Do you complain about the
- operating system getting in your way of viewing the hardware?
-
- I'll be adding support for everything that is resolved on this list to GEM++.
-
-
- Annius:
- > Hm. Funny. I just introduced shift close for iconify in Edith as
- > well. A new standard for iconification in Single TOSes?
-
- A MUCH safer technique is to use Shift-FULLER. It also trains users to
- look on the right-hand side for the SMALLER. It's also very meaningful,
- since the FULLER already means `Change Size', which is what iconification
- is all about.
-
-
- --
- Warwick
-